#ifndef ALGORITHMS_H
#define ALGORITHMS_H

#include <QVector>

#include "defs.h"

extern int n, m;
extern int opt;
extern int ansMax;
extern int recordAns;
extern int assingsCount;
extern bool fullBust;
extern bool solutionExist;
extern QVector<int> freeTime;
extern QVector<QVector<bool> > used;
extern QVector<QVector<int> > order;
extern QVector<QVector<int> > answer;
extern QVector<QVector<int> > inputVector;
extern QVector<QVector<int> > preliminaryAnswer;

extern void FullBust( const QVector<QVector<int> > &input, QVector<QVector<int> > &output, int optimization );
extern void FullBustWithAmputations( const QVector<QVector<int> > &input, QVector<QVector<int> > &output, int optimization );

#endif // ALGORITHMS_H
